<?php
/**
 * beimuaihui System
 * Copyright(c) 2011-2020 beimuaihui.
 * @license    http://www.gnu.org/licenses/gpl.html     This software Under GPL V3 License 
 * beimuaihui@gmail.com
 * http://code.google.com/p/beimuaihui/
 * $Id: IndexController.php 197 2011-02-18 12:45:33Z beimuaihui $
 */



class System_IndexController extends Baogg_Controller_Action {
	/**
	 * The default action - show the home page
	 */
	public function indexAction() {
		//var_dump($this->getFrontController()->getBaseUrl());

				
		$db = Baogg_Common::getDb('user');
		

		$stmt=$db->query("select * from {BAOGG_MDB_PREFIX}user;");
		//var_dump($stmt->fetchAll());

		//$stmt = $db->prepare("INSERT INTO server (key, value) VALUES (:key, :value)");
		

		//$stmt->bindParam('key', $key);
		//$stmt->bindParam('value', $value);
		

		//foreach ($_SERVER as $key => $value) {
		//	$stmt->execute();
		//}
	}
	public function headerAction() {
	
	}
	public function navigatorAction() {
	
	}
	public function rightsAction() {
	
	}
	public function bodyAction() {
	
	}
}
